from rich.console import Console
from rich.emoji import EMOJI

console = Console()
console.print(":smiley: :vampire: :pile_of_poo: :thumbs_up: :raccoon:")

emoji_list = {
    "1.人物表情": [
        "笑 :smiley:",
        "大笑: :laughing:",
        "开心 :smile:",
        "眨眼 :wink: :blush:",
        "汗 :sweat:",
        "中性脸 :neutral_face:",
        "无表情的 :expressionless:",
        "不悦 :unamused:",
        "做鬼脸 :grimacing:",
        "困惑的 :confused:",
        "寂静的 :hushed:",
        "恐惧的 :fearful:",
        "冷汗 :cold_sweat:",
        "坚持 :persevere:",
        "失望的 :disappointed:",
        "生气的；愤怒的 :angry:",
        "愤怒；狂怒 :rage:",
        "沉思的 :pensive:",
        "尖叫 :scream:",
        "太阳镜 :sunglasses:",
        "好色 :heart_eyes:",
    ],
    "2.动物":[
        "猫 :cat:",
        "狗 :dog:",
        "猪 :pig:",
        "兔子 :rabbit:",
        "鸡 :chicken:",
        "鸟 :bird:",
        "鱼 :fish:",
        "鲸鱼 :whale:",
        "海豚 :dolphin:",
        "海龟 :turtle:",
        "蛇 :snake:",
        "蜥蜴 :lizard:",
        "大象 :elephant:",
        "熊 :bear:",
        "猴子 :monkey:",
        "虎 :tiger:"
    ],
    "3.天文":[
        "太阳 :sun:",
        "月亮 :moon:",
        "星星 :star:",
        "星星 :star2:",
        "星星 :sparkles:",
    ],
    "4.食物和饮料":[
        "汉堡 :hamburger:",
        "薯条 :fries:",
        "寿司 :sushi:",
        "面条 :ramen:",
        "蛋糕 :cake:",
        "糖果 :candy:",
        "冰淇淋 :icecream:",
        "咖啡 :coffee:",
        "茶 :tea:",
        "啤酒 :beer:",
        "酒 :wine_glass:",
        "鸡尾酒 :cocktail:",
    ],
    "5.水果":[
        "苹果 :apple:",
        "草莓 :strawberry:",
        "葡萄 :grapes:",
        "柠檬 :lemon:",
        "橙子 :orange:",
        "西瓜 :watermelon:",
        "香蕉 :banana:",
        "菠萝 :pineapple:",
        "梨 :pear:",
        "桃子 :peach:",
        "樱桃 :cherries:",
    ],
    "6.自然":[
        "树 :palm_tree:",
        "玫瑰花 :rose:",
        "花 :tulip:",
        "向日葵 :sunflower:",
        "花 :blossom:",
        "花 :bouquet:",
        "樱花 :cherry_blossom:",
        "梅花 :hibiscus:",
    ],
    "7.电子设备":[
        "电脑 :computer:",
        "手机 :iphone:",
        "电视 :tv:",
        "扬声器 :speaker:",
        "耳机 :headphones:",
        "麦克风 :microphone:",
        "相机 :camera:",
        "键盘 :keyboard:",
        "鼠标 :mouse:",
        "打印机 :printer:",
    ],
    "8.符号":[
        "正确 :check_mark:",
        "错误 :cross_mark:",
        "错误 :x:",
        "警告 :warning:",
        "心爱 :heart:",
        "心碎 :broken_heart:",
    ]
}

def show_emoji_list(emoji_list):
    for key, emoji_list in emoji_list.items():
        console.rule(key)
        for emoji in emoji_list:
            console.print(emoji)

show_emoji_list(emoji_list)